<template>
    <a-modal
      title="处理记录"
      :visible="messageVisible"
      @cancel="cancel"
      @ok="ok"
    >
    <div class="disposeBlock">
      <a-empty v-if="dataList.length<1" />
      <div class="disposeBlock_items" v-else v-for="(item,index) in dataList" :key="index">
        <div class="disposeBlock_items_times">处理时间：{{ moment(Number(item.ctime)*1000).format('YYYY-MM-DD HH:mm:ss') }}</div>
        <div class="disposeBlock_items_cons">回复内容：{{ item.content }}</div>
      </div>
    </div>

    </a-modal>
  </template>
  
  <script>
  import moment from 'moment';
  export default {
    components: {
    },
    data() {
      return {
        messageVisible:false,
        dataList:[]
      }
    },
    created() {
    },
    methods: {
      moment,
      openecheckDispose(json){
        this.dataList=json.result
        this.messageVisible=true
      },
      handleOk(){
        this.messageVisible=false
      },
      cancel(){
        this.handleOk()
      },
      ok(){
        this.handleOk()
      },

    }
  }
  </script>
  
  <style lang="less" scoped>
  .disposeBlock{
    max-height: 400px;
    overflow: auto;
  }
  .disposeBlock_items{
    padding: 10px 20px;
    border-top: 1px solid #e8e8e8;
  }
  .disposeBlock_items:nth-child(1){
    border: none;
  }
  .disposeBlock_items_times{
    margin-bottom: 4px;
    font-size: 14px;
    color: rgba(0,0,0,.65);
  }
  .disposeBlock_items_cons{
    font-size: 14px;
    color: rgba(0,0,0,.45);
  }
  </style>
  